- 
		Home
	
- 
Tickera – Sell Tickets & Manage Events
- 
3.5.6.2 (latest)
- 
Code
- 
Classes
-  TC_Gateway_API 
		
			
				
					
													
								
																			
											| Total Complexity | 103 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 434 | 
																			
											| Lines of code | 296 | 
																			
											| Logical lines of code | 186 | 
																	
							 
													
								
																			
											| Comment lines | 22 | 
																			
											| Methods | 38 | 
																			
											| Properties | 11 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 38
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| buyer_info() | S | 56 | 7 | 17 | 
					
				| total() | S | 56 | 7 | 16 | 
					
				| order_confirmation_message() | S | 49 | 6 | 28 | 
					
				| is_payment_page() | S | 64 | 7 | 8 | 
					
				| get_option() | S | 55 | 5 | 20 | 
					
				| force_ssl() | S | 67 | 6 | 7 | 
					
				| save_payment_info() | S | 54 | 4 | 20 | 
					
				| cart_items() | S | 56 | 4 | 15 | 
					
				| _generate_cancel_url() | S | 60 | 4 | 12 | 
					
				| _generate_failed_url() | S | 60 | 4 | 12 | 
					
				| is_active() | S | 62 | 4 | 11 | 
					
				| _checkout_confirmation_hook() | S | 62 | 4 | 10 | 
					
				| isSSL() | S | 66 | 4 | 9 | 
					
				| maybe_start_session() | S | 73 | 3 | 5 | 
					
				| show_cart_errors() | S | 71 | 3 | 5 | 
					
				| __construct() | S | 56 | 1 | 17 | 
					
				| get_global_currencies() | S | 72 | 2 | 5 | 
					
				| field_name() | S | 70 | 2 | 6 | 
					
				| subtotal() | S | 72 | 2 | 5 | 
					
				| cart_info() | S | 71 | 2 | 5 | 
					
				| discount() | S | 72 | 2 | 5 | 
					
				| total_fees() | S | 72 | 2 | 5 | 
					
				| total_taxes() | S | 72 | 2 | 5 | 
					
				| _generate_ipn_url() | S | 67 | 2 | 7 | 
					
				| add_error() | S | 73 | 1 | 5 | 
					
				| on_creation() | S | 100 | 1 | 1 | 
					
				| init() | S | 100 | 1 | 1 | 
					
				| payment_form() | S | 100 | 1 | 1 | 
					
				| cart_contents() | S | 77 | 1 | 4 | 
					
				| save_cart_info() | S | 63 | 1 | 10 | 
					
				| process_payment() | S | 78 | 1 | 3 | 
					
				| order_confirmation_email() | S | 83 | 1 | 3 | 
					
				| gateway_admin_settings() | S | 100 | 1 | 1 | 
					
				| ipn() | S | 100 | 1 | 1 | 
					
				| order_confirmation() | S | 100 | 1 | 1 | 
					
				| cart_error_content() | S | 76 | 1 | 4 | 
					
				| get_country_data() | S | 83 | 1 | 3 | 
					
				| get_region_data() | S | 83 | 1 | 3 |